﻿using LunchList.Infrastructure;
using LunchList.ViewModels;
using LunchListCore.Interfaces;
using LunchListCore.Interfaces.Agents;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LunchList.Controllers
{
    public class ErrorController : LunchListControlerBase
    {
        [Dependency]
        public ILunchAgent LunchAgent { get; set; }

        [Dependency]
        public IGuestContext GuestContext { get; set; }

        public ActionResult DisplayErrorView(ErrorViewModel viewModel)
        {
            return PartialView("_ErrorDisplay", viewModel);
        }
    }
}
